<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
	<title>网关管理</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="../../layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="../../css/public.css" media="all" />
</head>
<body class="childrenBody">
	<blockquote >
		<form class="layui-form " action="" method="post" id="searchFrm" lay-filter="searchFrm">
			<div class="layui-inline">
				<select name="gridding" id="gridding" lay-filter="gridding">
					<option value="">在线</option>
					<option value="">离线</option>
				</select>
			</div>
			<div class="layui-inline">
				<input type="text" class="layui-input searchVal" placeholder="请输入网关编号" />
			</div>
				<button type="button" class="layui-btn layui-btn-normal search_btn" lay-submint="" id="search_btn" lay-filter="search_btn"><span class="layui-icon layui-icon-search"></span>搜索</button>
			<div class="layui-inline">
				<button type="button" class="layui-btn layui-btn-normal add_btn" lay-submint="" id="add_btn" lay-filter="add_btn"><i class="layui-icon">&#xe608;</i>添加网关</button>
			</div>
		</form>
	</blockquote>
	<br>
<!--学校导航-->
	<div class="layui-col-md2">
		学校
		<div class="navBar layui-side-scroll" id="navBar">
			<ul class="layui-nav layui-nav-tree">
				<li class="layui-nav-item layui-this">
					<a href="javascript:;" data-url="page/main.html"></a>
				</li>
			</ul>
		</div>
	</div>
	<!--数据表格开始-->
	<div class="layui-col-md8">
		<table id="gatewayList1" lay-filter="gatewayList1" ></table><!--yw 显示列表数据-->
		<!--行工具条-->
		<div id="listRowBar" style="display:none;">
			<a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
			<a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="del">删除</a>
			<a class="layui-btn layui-btn-xs" lay-event="detail">详情</a>		
		</div>
	</div>
	<!--数据表格结束-->
	
	<!-- 修改弹出层开始-->
	<div style="display:none;padding:10px" id="updateDiv">
		<form action="" method="post" class="layui-form" id="dataFrmSave" lay-filter="dataFrmSave">
			<div class="layui-form-item">
				<label class="layui-form-label">网关编号</label>
				<div class="layui-input-block">
					<input type="text" name="title" autocomplete="off" class="layui-input" id="gateWayID">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">网关MAC</label>
				<div class="layui-input-block">
					<input type="text" name="title" autocomplete="off" class="layui-input" id="gateWayMac">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">教室</label>
				<div class="layui-input-block">
					<input type="text" name="title" autocomplete="off" class="layui-input" id="classroomID">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">设备数量</label>
				<div class="layui-input-block">
					<input type="text" name="title" autocomplete="off" class="layui-input" id="eqNumber">
				</div>
			</div>
		
			<div class="layui-form-item">
				<label class="layui-form-label">激活时间</label>
				<div class="layui-input-block">
					<input type="text" id="acTime" placeholder="YYYY-MM-DD HH:MM:SS" readonly="readonly" class="layui-input">
				</div>
			</div>			
			<div class="layui-form-item">
				<label class="layui-form-label">在线状态</label> 
				<div  class="layui-input-block" id="onlineStatus">
					<select name="onlineStatus" >
						<option value="0">在线</option>
						<option value="1">离线</option>
					</select>
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-input-block" style="text-align: center;">
					<button type="button" class="layui-btn" lay-submit="" id="doSubmit" lay-filter="doSubmit"><i class="layui-icon">&#xe605;</i>提交</button>
					<button type="button" class="layui-btn layui-btn-warm" lay-submit="" id="doCancel" lay-filter="doCancel"><i class="layui-icon">&#x1006;</i>取消</button>
				</div>
			</div>
		</form>
	</div>
	<!-- 修改弹出层结束-->
	<script type="text/javascript" src="../../layui/layui.all.js"></script>
	<script type="text/javascript" src="gatewayList.js"></script>
	<script type="text/javascript" src="../../js/sbnavv.js"></script>
</body>
</html>